<?php

use console\db\channels\TransferTableMigration;
use yii\db\Query;

/**
 * 球迷学院用户勋章迁移
 * 
 * @author emhome <emhome@163.com>
 * @since 1.0
 */
class m300060_000010_t_college_user_medal extends TransferTableMigration {

    /**
     * @inheritdoc
     */
    public $sourceDb = 'olddb';

    /**
     * @inheritdoc
     */
    public function getTransferOptions() {
        return [
            'table' => [
                'college_user_medal' => 'a_users_medal',
            ],
            'columns' => [
                'id',
                'medal_id',
                'user_id',
                'status',
                'created_at',
                'updated_at',
                'deleted_at',
            ],
        ];
    }

}
